package com.yunxin.core.infra.persistence.mapper.channel;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.infra.persistence.entity.channel.ChannelPromotionMerchantConfigDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zero°
 * @since 2024-01-25
 */
@DS("core")
@Mapper
public interface ChannelPromotionMerchantConfigExtendMapper extends ChannelPromotionMerchantConfigMapper {

    /**
     * 根据渠道推广code查询渠道推广商户配置
     * @param channelPromotionCode channelPromotionCode
     * @return ChannelPromotionMerchantConfigDO
     */
    ChannelPromotionMerchantConfigDO selectChannelPromotionMerchantConfigByChannelCode(@Param("channelPromotionCode") String channelPromotionCode);
}
